package cn.iocoder.yudao.module.erp.controller.admin.pristock.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - ERP 一级库库存 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PriStockRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "7763")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "仓库编号", example = "30000")
    @ExcelProperty("仓库编号")
    private String warehouseId;

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30654")
    @ExcelProperty("产品编号")
    private Long productId;

    @Schema(description = "产品单位", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("产品单位")
    private String productUnit;

    @Schema(description = "产品规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("产品规格")
    private String productStandards;

    @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("产品名称")
    private String productName;

    @Schema(description = "单位id", example = "5557")
    @ExcelProperty("单位id")
    private String deptId;

    @Schema(description = "产品单价", requiredMode = Schema.RequiredMode.REQUIRED, example = "26275")
    @ExcelProperty("产品单价")
    private BigDecimal productPrice;

    @Schema(description = "批次", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("批次")
    private String productBatch;

    @Schema(description = "有效期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("有效期")
    private LocalDateTime productValidityDate;

    @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "20294")
    @ExcelProperty("库存数量")
    private String count;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

   private String  quantityCount;

    @Schema(description = "分配状态")
    private Integer allocationStatus;

    @Schema(description = "产品单位编号")
    private Long productUnitId;

    @Schema(description = "产品单位")
    @ExcelProperty("产品单位")
    private String productUnitName;

    @Schema(description = "产品分类编号")
    private Long productCategoryId;

    @Schema(description = "产品分类名称")
    @ExcelProperty("产品分类名称")
    private String productCategoryName;

    @Schema(description = "产品采购价格")
    @ExcelProperty("产品采购价格")
    private BigDecimal productPurchasePrice;

    @Schema(description = "产品入库批次")
    private String inboundBatch;
}